import Vue from 'vue';
import Router from 'vue-router';
import SocialCards from './socialCards.router'
import Other from './other.router'
import Information from './information.router'
import About from './about.router'

Vue.use(Router)
const Index = () => import('@/views/index');
const Result = () => import('@/views/success');

export default new Router({
	routes: [{
    path: '/',
    name: 'index',
    meta: {
      title: '商丘人社'
    },
    component: Index
  },{
    path: '/result',
    name: 'Result',
    meta: {
      title: '申报成功'
    },
    component: Result
  }]
    .concat(SocialCards).concat(Other).concat(Information).concat(About)
});
